home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / imlib / include / timing.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  405b  |  20 lines

  1. #ifndef __TIMING_HPP_
  2. #define __TIMING_HPP_
  3.  
  4. class time_marker
  5. {
  6. public :
  7.   long seconds;
  8.   long micro_seconds;  
  9.   void get_time();
  10.   time_marker();  
  11.   double diff_time(time_marker *other);    // returns time diff in seconds                   
  12. } ;
  13.  
  14. void milli_wait(unsigned wait_time);  // sleeps for a milli second 1000 millies=1 sec
  15. void timer_init();
  16. void timer_uninit();
  17.  
  18. #endif
  19.  
  20.